//公共样式
* {
    margin: 0px;
    padding: 0px;
}

//私有样式
//标题栏
#biaotilan {
    width: auto;
    height: 60px;
    background-color: wheat;
    margin-bottom: 20px;

    //搜索框
    #sosuo {
        width: 20%;
        height: 35px;
        margin-left: 5%;
        float: left;
        padding-top: 10px;
        transition: all 0.3s ease;

        input {
            width: 65%;
            height: 31px;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
            float: left;
            border-right: none;
            outline: none;
            font-size: 1rem;
            padding-left: 15px;
            text-align: center;
        }

        overflow: hidden;
        white-space: nowrap;

        div {
            margin-top: 0px;
            width: 22%;
            height: 31px;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
            border-style: solid;
            border-width: 2px;
            border-left-style: none;
            white-space: nowrap;
            display: inline-block;
            overflow: hidden;

            button {
                width: 105%;
                height: 100%;
                white-space: nowrap;
                display: inline-block;
                overflow: hidden;
                padding-right: 5%; //文字偏移
            }
        }
    }

    //切换栏历史记录
    #lishi {
        float: right;
        width: 60%;
        height: 100%;
        background-color: aquamarine;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;

        div {
            width: 200px;
            height: 100%;
            text-align: center;
            background-color: greenyellow;
            display: inline-block;

            &:hover {
                background-color: rgb(164, 243, 44);
            }

            p {
                display: inline-block;
                line-height: 40px;
            }

            button {
                width: 5%;
                height: 100%;
                float: right;
                background-color: antiquewhite;
                transition: all 0.3s ease;
                overflow: hidden;
                border-width: 0px;
                text-align: 10px;

                &:hover {
                    background-color: rgb(235, 220, 201);
                    width: 20%;
                }
            }
        }
    }
}

//大图
#tupian {

    float: left;
    width: 35%;
    height: 100%;
    background-color: white;
    margin: 0;

    div {
        height: 300px;
        width: 400px;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;

        img {
            width: 100%;
            height: 100%;
            margin: 0;
        }
    }
}

//文字展示
#neirong {
    float: left;
    width: 64%;
    max-width: 1000px;
    min-width: 400px;
    height: 100%;
    background-color: wheat;
    margin: 0;
    text-align: center;
    font-size: 5px;

    //板块划分
    .a {
        width: 30%;
        height: 100%;
        background-color: greenyellow;
        float: left;

        .a1 {
            width: 100%;
            height: 20%;
            line-height: 70px;
            font-size: 20px;
            font-weight: 200;
        }

        .a2 {
            width: 100%;
            height: 45%;
            line-height: 120px;
            font-size: 90px;
            font-weight: 400;
            font-family: 'Courier New', Courier, monospace;
        }

        .a3 {
            width: 100%;
            height: 35%;
            line-height: 40px;
            font-size: 40px;
            font-weight: 300;
            font-family: serif;
        }
    }

    .b {
        width: 70%;
        height: 50%;
        background-color: antiquewhite;
        float: left;
        line-height: 40px;

        .b1 {
            width: 30%;
            height: 70%;
            background-color: aquamarine;
            float: left;
            line-height: 100px;
            font-size: 50px;
            font-weight: 200;
        }

        .b2 {
            width: 30%;
            height: 70%;
            background-color: yellow;
            float: left;
            line-height: 40px;


            div {
                width: auto;
                height: 50%;
                &:hover {
                    background-color: rgb(239, 239, 0);
                }
            }
        }

        .b3 {
            width: 40%;
            height: 70%;
            float: left;
            background-color: aqua;


            div {
                width: 50%;
                height: 50%;
                float: left;
                &:hover {
                    background-color: rgb(0, 244, 244);
                }
            }
        }

        .b4 {
            width: 100%;
            height: 30%;
            float: left;
            line-height: 20px;
        }
    }

    .c {
        width: 70%;
        height: 50%;
        background-color: aquamarine;
        float: left;
        line-height: 70px;

        .c1 {
            width: 40%;
            height: 100%;
            float: left;

            div {
                width: 50%;
                height: 50%;
                float: left;

                &:hover {
                    background-color: rgb(123, 246, 205);
                }
            }
        }

        .c2 {
            width: 30%;
            height: 100%;
            float: left;
            line-height: 40px;

            div {
                width: auto;
                height: 33%;
                &:hover{
                    background-color: rgb(123, 246, 205);
                    }
            }
        }

        .c3 {
            width: 30%;
            height: 100%;
            float: left;

            div {
                width: auto;
                height: 50%;
                &:hover{
                    background-color: rgb(123, 246, 205);
                    }
            }
        }
    }
}

//未来天气展示栏
#weilai {
    width: 90%;
    height: 150px;
    background-color: palegreen;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;

    .ww {
        width: 20%;
    }

    div {
        //后面的天气
        width: 11%;
        height: 80%;
        background-color: aquamarine;
        float: left;
        margin: 1%;
        line-height: 50px;
        text-align: center;
        font-family: 'Courier New', Courier, monospace;
        font-size: 12px;
        font-weight: 500;
        overflow: hidden;
        transition: all 0.3s ease;
        border-radius: 10%;

        .w1 {
            width: 100%;
            height: 20%;
            background-color: aquamarine;
            margin: 0px;
            line-height: 25px;
            &:hover {
                background-color: rgb(148, 245, 148);
            }
        }

        .w2 {
            width: 50%;
            height: 60%;
            background-color: aquamarine;
            float: left;
            margin: 0px;

            &:hover {
                background-color: rgb(148, 245, 148);
            }
            img {
                max-width: auto;
                height: 100%;
            }
        }

        .w3 {
            .w2();
            height: 30%;
            line-height: 40px;
        }

        .w4 {
            .w3();
        }

        .w5 {
            .w2();
            width: 100%;
            height: 20%;
            line-height: 25px;
        }

        
    }
}